package com.ksyzt.ksite2.client.modulefactory;

import com.ksyzt.gwt.client.mainframe.ModuleProperties;
import com.ksyzt.ksite2.client.column.ColumnManager;

public class ColumnInitProperty extends ModuleProperties {
	private static final long serialVersionUID = -5480042179719126565L;

	public ColumnInitProperty setColumnType(int type) {
		this.put(ColumnManager.KEY_ORGTYPE, type);
		return this;
	}

	public ColumnInitProperty setOnly(Boolean onlyone) {
		this.put(ColumnManager.KEY_ONLYONE, onlyone);
		return this;
	}

	public ColumnInitProperty setEnableDelete(Boolean enabledelete) {
		this.put(ColumnManager.KEY_ENABLE_DELETE, enabledelete);
		return this;
	}
}
